package com.tomato.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Category {
    @TableId(type = IdType.AUTO)
    private int type;
    private String name;

    public Category() {
    }

    public Category(String name) {
        this.name = name;
    }
}
